#include<stdio.h>
int main()
{
	int a, b, c;
	while (scanf_s("%d %d %d", &a, &b, &c) != EOF) {
		if (a < b)
		{
			int temp = b;
			b = a;
			a = temp;
		}
		if (a < c)
		{
			int temp = c;
			c = a;
			a = temp;
		}
		if (b < c)
		{
			int temp = c;
			c = b;
			b = temp;
		}
		printf("%d %d %d", a, b, c);

	}
	return 0;
}